/******************************************
 * button.h - header for the button class
 * for GUIZ
 *
 *
 * Author: Jeremy Zito
 * Date:   1/10/07
 ******************************************/
 
#ifndef BUTTON_H
#define BUTTON_H


#include <fstream>
#include <vector>
#include <map>
#include <string>



class button{         
      
      public:           
      
         char name[64];
         //the screen x, y position
         //and window width and height
         int x, y, w, h;
         //skin image ids for the button
         int up_id, dn_id, cur_id;
         //if the button is pressed
         bool is_pressed;
         //a pointer to the function
         //to handle the button click
         void (*func_p)();
         
         //button class constructor
         button()
         {
             return;
         }
         
         //button class destructor
         ~button()
         {
             return;
         }
};

#endif   /* BUTTON_H */
